Total Complexity | 56 |
Dependencies | 0 |
Dependents | 0 |
Total lines | 439 |
Lines of code | 289 |
Logical lines of code | 127 |
Comment lines | 94 |
Methods | 15 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
show_notification() | 49 | 8 | 35 | |
is_notification_expired() | 52 | 8 | 25 | |
get_notification_html() | 45 | 5 | 46 | |
get_random_notification() | 54 | 6 | 23 | |
dismiss() | 56 | 5 | 16 | |
get_notification_details() | 61 | 5 | 12 | |
load() | 53 | 4 | 24 | |
can_load() | 62 | 4 | 12 | |
render_snippets() | 52 | 1 | 52 | |
setup_notifications() | 58 | 3 | 16 | |
get_last_notification() | 74 | 2 | 4 | |
get_last_active_notification_timestamp() | 74 | 2 | 4 | |
get_notifications_metadata() | 65 | 1 | 10 | |
set_last_active_notification_timestamp() | 72 | 1 | 5 | |
set_active_notification() | 72 | 1 | 5 |